<div class="page">
	共${total}条记录&nbsp;&nbsp;
	${pageIndex}/${pages}页&nbsp;&nbsp;
	<a href="${sys_path}/${url}">首页</a>&nbsp;&nbsp;
	<#if pageIndex gt 1>
         <a href="${sys_path}/${url}?page=${pageIndex - 1}">上一页</a>&nbsp;&nbsp;
    <#else>
         <font class="nolink">上一页</font>&nbsp;&nbsp;
    </#if>
    <#if pageIndex lt pages>
         <a href="${sys_path}/${url}?page=${pageIndex + 1}">下一页</a>&nbsp;&nbsp;
    <#else>
         <font class="nolink">下一页</font>&nbsp;&nbsp;
    </#if>
    <a href="${sys_path}/${url}?page=${pages}">尾页</a>&nbsp;&nbsp;第
    <select name="toPage" onchange="selectchange(this)">
    <#if pages gt 0>
        <#list 1..pages as p>
              <option id="_pageCombo" name="_pageCombo" value="${p}" <#if p = pageIndex>selected</#if>>${p}</option>
        </#list>
    <#else>
        <option name="toPage" value=0>0</option> 
    </#if>
    </select>页
	<script>
		function selectchange(obj) { location.href= '${sys_path}/${url}?page=' + obj.value; } 
	</script>
</div>